<template>
    <div class="Entryexitrecords">
        <div class="Entryexitrecordstitle" @click="back">
            <i class="el-icon-arrow-left"></i>
            <span> 出入记录</span>
        </div>
        <div class="information">
            <div class="left">
                <div class="avater">
                    <img src="https://cdn7.axureshop.com/demo/1815369/images/%E4%BA%BA%E5%91%98%E5%87%BA%E5%85%A5%E8%AE%B0%E5%BD%95/u5288.png" alt="">
                    <span>一缕青烟</span>
                    <p>租户</p>
                </div>
                <ul class="lists">
                    <li>
                        <p>手机号：</p>
                        <p>13013001300</p>
                    </li>
                    <li>
                        <p>出入小区小区：</p>
                        <p>幸福苑小区1号楼1单元2032</p>
                    </li>
                    <li>
                        <p>出入时间：</p>
                        <p>2021/05/31 10:01:45</p>
                    </li>
                    <li>
                        <p>出入闸机：</p>
                        <p>1单元单元门</p>
                    </li>
                    <li>
                        <p>出入方式：</p>
                        <p>人脸识别</p>
                    </li>
                </ul>
            </div>
            <div class="right">
                <img src="https://cdn7.axureshop.com/demo/1815369/images/%E4%BA%BA%E5%91%98%E5%87%BA%E5%85%A5%E8%AE%B0%E5%BD%95/u5291.svg" alt="" class="photo">
                <p>拍照照片</p>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    methods:{
        back(){
            this.$router.go(-1)
        }
    }
}
</script>

<style lang="scss" scoped>
    .Entryexitrecords{
        width: 1260px;
        margin: auto;
        height: 460px;
        padding-top: 20px;
        background-color: #fff;
        .Entryexitrecordstitle{
            width: 1085px;
            margin: auto;
            height: 40px;
            display: flex;
            align-items: center;
            background-color: #f2f2f2;
            cursor: pointer;
        }
        .information{
            width: 1085px;
            margin: auto;
            margin-top: 20px;
            padding: 0 60px;
            box-sizing: border-box;
            display: flex;
            justify-content: space-between;
            .left{
                width: 520px;
                .avater{
                    width: 100%;
                    height: 80px;
                    padding-left: 40px;
                    display: flex;
                    align-items: center;
                    img{
                        width: 80px;
                        height: 80px;
                        // margin-right: 40px;
                    }
                    span{
                        font-size: 14px;
                        color: #666666;
                        margin-left: 20px;
                    }
                    p{
                        width: 70px;
                        height: 30px;
                        line-height: 30px;
                        border-radius: 8px;
                        margin-left: 20px;
                        text-align: center;
                        color: #fff;
                        background-color: #f95e5a;
                    }
                }
                .lists{
                    width: 520px;
                    li{
                        height: 40px;
                        font-size: 14px;
                        color: #666666;
                        display: flex;
                        align-items: center;
                        & p:nth-child(1){
                            width: 120px;
                            height: 40px;
                            line-height: 40px;
                            text-align: right;
                        }
                        & p:nth-child(2){
                            padding-left: 20px;
                            box-sizing: border-box;
                        }
                    }
                }
            }
            .right{
                width: 277px;
                img{
                    width: 277px;
                    height: 277px;
                }
                p{
                    height: 40px;
                    line-height: 40px;
                    font-size: 14px;
                    color: #666666;
                    text-align: center;
                }
            }
        }
    }
</style>